//this class use poco library mutex to implement muteximpl interface
//andycai_sc 2011-04-29

#ifndef POCOMUTEXIMPL_H
#define POCOMUTEXIMPL_H

#include "Poco/Foundation.h"
#include "Poco/Mutex.h"
#include "GParallel/GMutexImpl.h"

class PocoMutexImpl : public GMutexImpl
{
public:
	PocoMutexImpl();
	virtual ~PocoMutexImpl();

	void lockImpl();
	void unlockImpl();

private:
    Poco::Mutex m_mutex;
};

#endif
